<template>
  <!--  信息查看	出院病例-->
  <div class="wrapper">
    <main-message :father="father" :is-show="isShow" />
  </div>
</template>

<script>
import MainMessage from '../../childComps/FormInfo/MainMessage'
export default {
  name: 'TheHospitalCases',
  components: {
    MainMessage
  },
  data() {
    return {
      // 定义父亲
      father: 'TheHospitalCases',
      //  显示哪些组件
      isShow: {
        // mainmessage 由三个部分构成，通过self设置是否显示这部分
        baseMessage: { self: true,
          cysj: true, cyks: true, kzys: true, fb: true, brxm: true,
          xb: true, brnl: true, zyh: true, zd: true, dpjg: true, brid: true, swbr: true
        },
        medicineMessage: {
          self: true, yp: true, yplx: true, kjylx: true, kjyjb: true,
          gytj: true, jblx: true, kjsby: true, kyyyp: true
        },
        samplingMessage: { self: false }
      }
    }
  }
}
</script>

<style scoped lang="scss">

</style>
